package org.yawnage.interfaces.framework 
{
	import org.yawnage.framework.Bridge;
	
	 /**
	 * <p>//TODO:To be written</p>
	 * @author Berry Jordaan
	 * @date 2011/09/06 09:40 AM
	 * @copyright Copyright © Berry/James 2011
	 * @version 1.0.0.0
	 * @description
	 * @history Berry Jordaan on 2011/09/06 09:40 AM: Created
	 */
	
	public interface IClient 
	{

		/**
		 * 
		 * @param	publisherNameP
		 * @param	serviceNamespaceP
		 * @return
		 */
		function getBridge(publisherName:String, serviceNamespace:String):Bridge;
		
		/**
		 * 
		 * @param	publisherNameP
		 * @param	serviceNameP
		 */
		function unSubscribeAllFromService(publisherName:String, serviceName:String):void;

		/**
		 * 
		 * @param	publisherNameP
		 */
		function unSubscribeAllFromPublisher(publisherName:String):void;

		/**
		 * 
		 */
		function unSubscribeAll():void;

		/**
		 * 
		 * @return
		 */
		function integrityCheck():Number;

		/**
		 * 
		 */
		function dispose():void;
	}
	
}